<template>
    <div class="err">
      <el-image :src="require('../../assets/404.png')"/>
      <el-button type="primary" icon="el-icon-back" @click="click">返回</el-button>
    </div>
</template>

<script>
  export default {
    name: '404',
    methods:{
      click(){
        this.$router.back()
      }
    }
  }
</script>

<style scoped>
  .err{
    max-width: 500px;
    margin: 0 auto;
  }
</style>
